package com.itheima.health.dao;


import com.itheima.health.pojo.CheckItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CheckgroupCheckitemDao {

    /**
     * 根据检查组id查询检查项
     * @param id
     * @return
     */
    @Select("select checkitem_id from t_checkgroup_checkitem where checkgroup_id=#{id} ")
    Integer [] getCheckItemByIds(Integer id);
}
